Ignore Cargo.lock for libs in `cargo-new`
authorAlex Crichton <alex@alexcrichton.com>
Mon, 4 Aug 2014 14:45:25 +0000 (07:45 -0700)
committerAlex Crichton <alex@alexcrichton.com>
Mon, 4 Aug 2014 14:46:03 +0000 (07:46 -0700)
commit9ef74904e266a8a7ad88802e50db33247eae3728
treea0b38f2f0c936bb8445526938e346660ef55c071
parent07b9c7028ae920981c4ef866ec9ca4a1bb9c730f
Ignore Cargo.lock for libs in `cargo-new`

The lockfile should only be checked in for bins, not libs.

Closes #304
src/cargo/ops/cargo_new.rs